Total Complexity | 97 |
Dependencies | 3 |
Dependents | 3 |
Total lines | 564 |
Lines of code | 439 |
Logical lines of code | 247 |
Comment lines | 17 |
Methods | 12 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_attachment() | 33 | 22 | 95 | |
load_external_image() | 32 | 20 | 100 | |
create_attachment_from_data() | 45 | 10 | 38 | |
_choose_image_size_from_aliexpress() | 56 | 10 | 18 | |
create_attachment_from_file() | 44 | 8 | 45 | |
find_external_images() | 47 | 8 | 37 | |
set_attachment_metadata() | 42 | 4 | 52 | |
download_url() | 53 | 6 | 21 | |
__construct() | 66 | 3 | 8 | |
mime2ext() | 63 | 3 | 10 | |
find_products_with_external_images() | 64 | 2 | 9 | |
calc_total_external_images() | 69 | 1 | 6 |